import { Module } from '@nestjs/common'
import { MeetingService } from './services/meeting.service'
import { MeetingController } from './meeting.controller'
import { ApiService } from './services/moa.service'
import { HttpModule } from '@nestjs/axios'
import { MongooseModule } from '@nestjs/mongoose'
import { User, UserSchema } from './schemas/user.schema'

@Module({
  imports: [
    HttpModule,
    MongooseModule.forFeature([{ name: User.name, schema: UserSchema }])
  ],
  controllers: [MeetingController],
  providers: [MeetingService, ApiService],
  exports: [MongooseModule]
})
export class MeetingRoomModule {}
